public class Test5 {
    public static void main(String[] args) {
        try {
            Class clz=Class.forName("Person");
            Object boj=clz.newInstance();
            System.out.println(boj);
        } catch (ClassNotFoundException | InstantiationException | IllegalAccessException e) {
            throw new RuntimeException(e);
        }
    }
}
